package com.tjh.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjh.common.utils.PageUtils;
import com.tjh.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * Create by koala on 2021-01-24 21:36:10
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //day35.1
    void saveProductAttr(List<ProductAttrValueEntity> collect);

    //day45
    List<ProductAttrValueEntity> baseAttrlistforspu(Long spuId);

    //day46
    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
}

